import request from "../units/request";


//轮播图
export const getswiper = () => {
  return request({
    method: 'get',
    url: 'swiper',
  })
}
//秒杀列表
export const getseconds = () => {
  return request({
    method: 'get',
    url: 'seconds',
  })
}
//商品列表
export const getgoods = () => {
  return request({
    method: 'get',
    url: 'goods',
  })
}
//商品详情
export const getgoodsDetail = (params) => {
  return request({
    method: 'get',
    url: 'goodsDetail',
    params
  })
}